home *** CD-ROM | disk | FTP | other *** search
/ Exame Informatica 140 / Exame Informatica 140.iso / Programas / Zsnes / zmovie.cfg < prev    next >
Encoding:
Text File  |  2007-01-02  |  1.4 KB  |  29 lines

  1. md_raw_file="rawvideo.bin" ; Only for Raw Video
  2. md_pcm_audio="audio.wav" ; AVI dumping always dumps audio seperatly
  3. md_compressed_audio="audio.mp3" ; For when selecting compressed
  4.  
  5. md_ntsc="59649/995"
  6. md_pal="50/1"
  7.  
  8. md_file="video.avi"
  9. md_prog="mencoder"
  10. md_raw="-demuxer rawvideo -rawvideo format=0x42475218:w=256:h=224:size=172032"
  11. md_other="-aspect 4:3 -mc 0"
  12. md_no_sound="-nosound"
  13. md_sound="-oac mp3lame -lameopts aq=0:preset=64:mode=1"
  14. md_x264="-ovc x264 -x264encopts qp=0:frameref=15"
  15. md_ffv1="-ovc lavc -lavcopts vcodec=ffv1:vstrict=-2:aspect=4/3"
  16. md_xvid="-ovc xvid -xvidencopts fixed_quant=2"
  17.  
  18. ;Valid variables to use in the next four lines are:
  19. ;$md_file, $md_prog, $md_raw, $md_other, $md_no_sound, $md_sound, $md_pcm_audio, $md_compressed_audio
  20. ;and $md_video_rate, $md_vcodec
  21. ;These variables are defined above.
  22. ;$md_video_rate is $md_ntsc or $md_pal depending on the game as needed
  23. ;$md_vcodec is $md_x264, $md_ffv1, or $md_xvid depending on the codec selected
  24.  
  25. md_command="$md_prog $md_other $md_no_sound $md_raw:fps=$md_video_rate $md_vcodec -o $md_file -"
  26. md_merge="$md_prog $md_other $md_sound -audiofile $md_pcm_audio -force-avi-aspect 4:3 -ovc copy -o merged.avi $md_file"
  27. md_audio_compress="lame -m j --preset 64 -q 0 - $md_compressed_audio"
  28. md_merge_compressed="$md_prog $md_other -oac copy -audiofile $md_compressed_audio -force-avi-aspect 4:3 -ovc copy -o merged.avi $md_file"
  29.